import React from 'react';
import ReactDOM from 'react-dom';
import { authorize } from 'wx';
import App from './App';
import './index.scss';
import './rem';

authorize().then(() => {
  // jsAuthorize().then(() => {
    ReactDOM.render(
      <React.StrictMode>
        <App />
      </React.StrictMode>,
      document.getElementById('root')
    );
  // })
})
